﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NET.Reflection
{
    public class People
    {
        [MyAtt]
        public string Name;
        [MyAtt("this is Age Field")]
        private int Age;

        public People(string name, int age)
        {
            this.Name = name;
            this.Age = age;
        }

        public override string ToString()
        {
            return $"Name:{this.Name},Age:{Age}";
        }
    }
}
